<?php

namespace ORM\Dynasties2;

use Doctrine\ORM\Mapping as ORM;

/**
 * ORM\Dynasties2\Mailmsgs
 */
class Mailmsgs
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var string $msgText
     */
    private $msgText;

    /**
     * @var integer $fromUser
     */
    private $fromUser;

    /**
     * @var datetime $timeStamp
     */
    private $timeStamp;

    /**
     * @var integer $onTurn
     */
    private $onTurn;

    /**
     * @var smallint $importance
     */
    private $importance;

    /**
     * @var smallint $msgType
     */
    private $msgType;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set msgText
     *
     * @param string $msgText
     * @return Mailmsgs
     */
    public function setMsgText($msgText)
    {
        $this->msgText = $msgText;
        return $this;
    }

    /**
     * Get msgText
     *
     * @return string 
     */
    public function getMsgText()
    {
        return $this->msgText;
    }

    /**
     * Set fromUser
     *
     * @param integer $fromUser
     * @return Mailmsgs
     */
    public function setFromUser($fromUser)
    {
        $this->fromUser = $fromUser;
        return $this;
    }

    /**
     * Get fromUser
     *
     * @return integer 
     */
    public function getFromUser()
    {
        return $this->fromUser;
    }

    /**
     * Set timeStamp
     *
     * @param datetime $timeStamp
     * @return Mailmsgs
     */
    public function setTimeStamp($timeStamp)
    {
        $this->timeStamp = $timeStamp;
        return $this;
    }

    /**
     * Get timeStamp
     *
     * @return datetime 
     */
    public function getTimeStamp()
    {
        return $this->timeStamp;
    }

    /**
     * Set onTurn
     *
     * @param integer $onTurn
     * @return Mailmsgs
     */
    public function setOnTurn($onTurn)
    {
        $this->onTurn = $onTurn;
        return $this;
    }

    /**
     * Get onTurn
     *
     * @return integer 
     */
    public function getOnTurn()
    {
        return $this->onTurn;
    }

    /**
     * Set importance
     *
     * @param smallint $importance
     * @return Mailmsgs
     */
    public function setImportance($importance)
    {
        $this->importance = $importance;
        return $this;
    }

    /**
     * Get importance
     *
     * @return smallint 
     */
    public function getImportance()
    {
        return $this->importance;
    }

    /**
     * Set msgType
     *
     * @param smallint $msgType
     * @return Mailmsgs
     */
    public function setMsgType($msgType)
    {
        $this->msgType = $msgType;
        return $this;
    }

    /**
     * Get msgType
     *
     * @return smallint 
     */
    public function getMsgType()
    {
        return $this->msgType;
    }
}